package com.lovo.invoicing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lovo.invoicing.bean.GoodsBean;
import com.lovo.invoicing.bean.vo.OutGoodsBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GoodsMapper extends BaseMapper<GoodsBean> {

    IPage<OutGoodsBean> selectOutGoodsByPage(Page page, @Param("goodsName") String goodsName,
                                             @Param("goodsType") int goodsType);
}
